package ink.waita.blog.domain.global;

import lombok.Data;

import java.util.Map;

/**
 * create by aries
 * Map 数据包装类
 *
 * @param <K>
 * @param <V>
 */
@Data
public class ObjectMapResponse<K, V> {
    private int code;
    private Map<K, V> data;

    public ObjectMapResponse(Map<K, V> data) {
        this.data = data;
        this.code = 200;
    }
}
